Conversation
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @workingjubilee (or someone else) some time within the next two weeks. Please see the contribution instructions for more information. Namely, in order to ensure the minimum review times lag, PR authors and assigned reviewers should ensure that the review label (
|
This comment has been minimized.
This comment has been minimized.
|
See rust-lang/rfcs#3706 for a longer discussion of such a function and alternatives too. |
|
Please file an ACP. |
|
As If you didn't know about those functions before I told you about them, that's my point: the API is already too big for it to be easily learnable. |
Ok, then I am going to close this pr |
Hi,
In this PR i added a function to
Optionwhich throws an unreachable exception, if the internal value is None.Would this have use cases?
Yes, I want a feature like that for a very long time.
It would make development of some of my codegen libs easier.
Best wishes,
Toni